package com.ciko.code.http.Req;


import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

import java.io.File;
import java.io.FileNotFoundException;

/**
 * Created by ciko on 2015/12/10.
 */
public class UploadImgForWorkFlowReq extends BaseRequest {

        public UploadImgForWorkFlowReq(String enclosure) throws FileNotFoundException {
        init();
        put("image1", new File(enclosure), "application/octet-stream");
        putCid();

    }

    @Override
    public String getUrl() {
        return Api.uploadImgForWorkFlow;
    }

    @Override
    public Class<?> getResponseClazz() {
        return UploadImgForWorkFlowRes.class;
    }
}
